package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ProductSkuKey;
import com.ytjj.qmyx.admin.model.ProductSkuKeyExample;
import java.util.List;

import com.ytjj.qmyx.admin.model.response.goods.ProductSkuValueResponse;
import org.apache.ibatis.annotations.Param;

public interface ProductSkuKeyMapper {
    long countByExample(ProductSkuKeyExample example);

    int deleteByExample(ProductSkuKeyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductSkuKey record);

    int insertSelective(ProductSkuKey record);

    List<ProductSkuKey> selectByExample(ProductSkuKeyExample example);

    ProductSkuKey selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductSkuKey record, @Param("example") ProductSkuKeyExample example);

    int updateByExample(@Param("record") ProductSkuKey record, @Param("example") ProductSkuKeyExample example);

    int updateByPrimaryKeySelective(ProductSkuKey record);

    int updateByPrimaryKey(ProductSkuKey record);

    Integer deleteByProductId(@Param("productId") Integer productId);

    int deleteSkuKeyByParams(@Param("productId") Integer productId,@Param("supIds") List<Integer> supIds);

    List<ProductSkuKey> queryProductSkuKeysByPid(@Param("productId") Integer productId);
}